import Vue from 'vue';
import Router from 'vue-router';
Vue.use(Router);
import routes from './routes';
import Detailed from '@/views/Detailed.vue';

const router = new Router({
	mode: 'hash',
	routes
});

// api
/**
 * [
 * 		{
 * 			path: '/detailed',
 * 			name: 'detailed',
 * 			component: 'Detailed',
 * 			meta: {}
 * 		}
 * ]
 */
router.addRoute({ path: '/detailed', name: 'detailed', component: Detailed });

export default router;
